package com.goldcn.interceptor;

import com.google.common.base.Objects;

/**
 * Created by Administrator on 2016/3/12.
 */
public class CurrentUser{
    private String tokenId;

    private String userID;

    private String userName;

    private String chinaName;

    private String accountID;

    private String rolesID;

    private String shopID;

    public String getTokenId() {
        return tokenId;
    }

    public void setTokenId(String tokenId) {
        this.tokenId = tokenId;
    }

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getChinaName() {
        return chinaName;
    }

    public void setChinaName(String chinaName) {
        this.chinaName = chinaName;
    }

    public String getAccountID() {
        return accountID;
    }

    public void setAccountID(String accountID) {
        this.accountID = accountID;
    }

    public String getRolesID() {
        return rolesID;
    }

    public void setRolesID(String rolesID) {
        this.rolesID = rolesID;
    }

    public String getShopID() {
        return shopID;
    }

    public void setShopID(String shopID) {
        this.shopID = shopID;
    }

    public boolean isAccount(){
        return Objects.equal(shopID,"0");
    }
}
